//首页产品信息
import request from '@/utils/request';

// 查询首页产品信息列表
export function homeProductList(data) {
  return request({
    url: '/system/home/product/list',
    method: 'post',
    data
  })
}

// 添加分类
export function addHomeProduct(data) {
  return request({
    url: '/system/home/product',
    method: 'post',
    data
  })
}

// 修改分类
export function updateHomeProduct(data) {
  return request({
    url: '/system/home/product',
    method: 'put',
    data
  })
}

// 删除分类
export function delHomeProduct(data) {
  return request({
    url: '/system/home/product/batchDelete',
    method: 'post',
    data
  })
}

